package com.modular.filter;

import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

import javax.servlet.*;
import java.io.IOException;

/**
 * 管理后台判断标识
 */
@Order(2)
@Component
public class ManagerTokenFilter implements Filter {
    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
        System.out.println("OtherFilter");
        filterChain.doFilter(servletRequest,servletResponse);
    }
}
